package javango.contrib.jquery.widgets;

import javango.contrib.jquery.JqueryWidget;
import javango.forms.fields.BoundField;
import javango.forms.widgets.TimeWidget;

public class JQueryTimeWidget extends TimeWidget implements JqueryWidget {

	public String getScript(BoundField field) {
//		// TODO Is this the correct way to grab a field's id?
//		if (field.getField().isEditable()) {
//			return String.format("$(\"#id_%s\").datePicker();", 
//				(String)field.getHtmlName());
//		}
		return null;
	}

}
